<?php
namespace app\api\controller\comv1;
use x\Xbase;
use x\G;
class Base extends Xbase
{
    public $sys = [];
    public function __construct()
    {
        parent::__construct();
        $this->_sys();
    }
    //通用
    public function _sys(){
        $this->sys = m('Deploy','xcom')->lists();
        G::$exts['api_version'] = $this->sys['api_version'];
        $this->assign('sys',$this->sys);
    }
}
